package com.qingcloud.wcenter.model.sdata.dto;

import com.qingcloud.wcenter.model.station.StationInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 站点污染数据返回对象
 */
@Data
public class StationWeatherData implements Serializable {

    @ApiModelProperty(value = "监测点编号", example = "90265")
    private String stationId;

    @ApiModelProperty(value = "监测点详细信息")
    private StationInfo stationInfo;

    @ApiModelProperty(value = "数据时间", example = "2018-08-01 12:00:00")
    private String rtcTime;

    @ApiModelProperty(value = "IAQI", example = "10")
    private String iaqi;

    @ApiModelProperty(value = "舒适度", example = "10")
    private String ssd;

    @ApiModelProperty(value = "PM2.5", example = "10")
    private String pm25;

    @ApiModelProperty(value = "CO2", example = "10")
    private String co2;

    @ApiModelProperty(value = "甲醛", example = "10")
    private String hcho;

    @ApiModelProperty(value = "TVOC", example = "10")
    private String tvoc;

    @ApiModelProperty(value = "生物粒子总数", example = "10")
    private String virus;

    @ApiModelProperty(value = "温度", example = "10")
    private String temperature;

    @ApiModelProperty(value = "湿度", example = "10")
    private String humidity;

    @ApiModelProperty(value = "aerosol1", example = "10")
    private Integer aerosol1;

    @ApiModelProperty(value = "aerosol2", example = "10")
    private Integer aerosol2;

    @ApiModelProperty(value = "aerosol3", example = "10")
    private Integer aerosol3;

    @ApiModelProperty(value = "aerosol4", example = "10")
    private Integer aerosol4;

    @ApiModelProperty(value = "aerosol5", example = "10")
    private Integer aerosol5;

    @ApiModelProperty(value = "aerosol6", example = "10")
    private Integer aerosol6;

    @ApiModelProperty(value = "aerosol7", example = "10")
    private Integer aerosol7;

    @ApiModelProperty(value = "aerosol8", example = "10")
    private Integer aerosol8;

    public String getIaqi() {
        return iaqi == null ? "--" : iaqi;
    }

    public String getSsd() {
        return ssd == null ? "--" : ssd;
    }

    public String getPm25() {
        return pm25 == null ? "--" : pm25;
    }

    public String getCo2() {
        return co2 == null ? "--" : co2;
    }

    public String getHcho() {
        return hcho == null ? "--" : hcho;
    }

    public String getTvoc() {
        return tvoc == null ? "--" : tvoc;
    }

    public String getVirus() {
        return virus == null ? "--" : virus;
    }

    public String getTemperature() {
        return temperature == null ? "--" : temperature;
    }

    public String getHumidity() {
        return humidity == null ? "--" : humidity;
    }
}
